package day10;

public class Cat extends Animal {
   // 成员变量省略

  @Override
  public void eat() {
    System.out.println("猫吃鱼，吃猫条");
  }

  @Override
  public void sleep() {
    System.out.println("猫躺着睡，睡猫窝");
  }

}
